#define _CRT_SECURE_NO_WARNINGS
#include "SeqList.h"

int main()
{
	SeqList s;
	InitSeqList(&s);
	PushBackSeqList(&s, 2);
	PushBackSeqList(&s, 3);
	PushBackSeqList(&s, 4);
	PushBackSeqList(&s, 5);
	PushBackSeqList(&s, 6);
	PrintSeqList(&s);
	PushFrontSeqList(&s, 1);
	PrintSeqList(&s);
	PopFrontSeqList(&s);
	PrintSeqList(&s);
	PopBackSeqList(&s);
	PrintSeqList(&s);
	SeqListFind(&s, 3);
	SeqListInsert(&s, 3, 8);
	PrintSeqList(&s);
	SeqListErase(&s,3);
	PrintSeqList(&s);
	DestorySeqList(&s);
	return 0;
}